import http from './http.js'

export function addAddress(data) {
  return http.post('/api/address/add', data)
}

export function deleteAddresses(ids) {
  return http.delete(`/api/address/delete/${ids}`)
}

export function updateAddress(data) {
  return http.put('/api/address/update', data)
}

export function listAddresses() {
  return http.get('/api/address/list')
}


